﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace jsGotoDefinition.VS2010.Helpers
{
    /// <summary>
    /// An object representing an error that occurred when searching for the regular expression
    /// </summary>
    public class SearchError
    {
        /// <summary>
        /// Constructor accepting the message
        /// </summary>
        /// <param name="message"></param>
        public SearchError(string message) {
            this.Message = message;
        }

        /// <summary>
        /// The error message that will be displayed
        /// </summary>
        public string Message { get; set; }
    }


    /// <summary>
    /// A list of SearchError objects
    /// <seealso cref="SearchError"/>
    /// </summary>
    public class SearchErrorCollection : List<SearchError>
    {

    }
}
